home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / sprintf < prev    next >
Text File  |  1994-04-25  |  637b  |  22 lines

  1. sprintf:
  2.  
  3. Syntax:    sprintf ( string_variable , format_string , VARi ... )
  4.  
  5. Description:
  6.     
  7.     The RLaB sprintf() is a limited feature version of the
  8.     C-language sprintf(). The features are limited because RLaB
  9.     does not support all of the data types the C-language does.
  10.  
  11.     string_variable: The output of sprintf is written to this
  12.     variable. 
  13.  
  14.     format_string: A valid sprintf format string.
  15.  
  16.     VARi: Are any number of constants or variables that match the
  17.     format string. sprintf() cannot print out vector, matrix, or
  18.     list objects as a whole. Valid print objects are strings,
  19.     constants, and scalars.
  20.  
  21. See Also: printf, fprintf, write, read
  22.